﻿using System.Collections.Generic;
using Yun.Interface;
using Yun.Site.Response;

namespace Yun.Site.Request
{
    /// <summary>
    /// 获取未读消息汇总
    /// yun.site.station.unreadmessagesummary.list
    /// </summary>
    public class GetUnreadMessageSummaryRequest : ITopRequest<GetUnreadMessageSummaryResponse>
    {
        /// <summary>
        /// 类型ids
        /// </summary>
        public string TypeIds { get; set; }

        public string GetApiName()
        {
            return "yun.site.station.unreadmessagesummary.list";
        }

        public IDictionary<string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                {"typeids",TypeIds},
            };
            return parameters;
        }

        public void Validate()
        {
        }
    }
}
